package cn.wolfcode.luowowo.comment;

import cn.wolfcode.luowowo.comment.config.MongoDBConfig;
import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Import;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@Import(MongoDBConfig.class)
@EnableDubbo
public class CommentServer {
    public static void main(String[] args) {
        SpringApplication.run(CommentServer.class,args);
    }
}
